home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr47
/
fn32_3.zip
/
CP.DOC
< prev
next >
Wrap
Text File
|
1993-02-07
|
2KB
|
36 lines
Usage: cp
[-abdfipruvxDR] [-S backup-suffix] [-V {numbered,existing,simple}]
[+archive] [+backup] [+force] [+interactive] [+one-file-system]
[+preserve] [+recursive] [+update] [+verbose] [+suffix backup-suffix]
[+version-control {numbered,existing,simple}] src... dst
Switch ------------------- Meaning
a, +archive Copy files with archive bit set [NEW]
b, +backup Make backups
d, +duplicate Duplicate full src path under dst path [NEW]
f, +force Force write permissions and overwrites
i, +interactive Query overwrites
p, +preserve Preserve times and permissions
r, +recursive Recursive copy of directories
u, +update Overwrite older files
v, +verbose Print each filename
x, +one-file-system Do not cross file systems
D, Duplicate src path under dst, see 'R' [NEW]
R, Recursive copy, w/o contents of special files
S, +suffix backup_suffix Specify the backup suffix (default=~)
V, +version-control nu,e,s Override the Emacs VERSION-CONTROL variable
Backups are defaulted to numbered e.g. file.c.~123~. You will need 'FN32'.
The archive bit is cleared if -d, -b or -u are used.
Save all .h files on the c: partition to the directory b:/include
and clear the archive bit.
cp -ap c:/**/*.h b:/include
Save all .h files on the c: partition, to duplicate paths on b:
and clear archive bit.
cp -adp c:/**/*.h b:/